<template>
<div class="block">
  <el-timeline :reverse="reverse">
    <el-timeline-item
      v-for="(activity, index) in activities"
      :key="index"
      :timestamp="activity.content"
	  >
      {{activity.timestamp}}
    </el-timeline-item>
  </el-timeline>
</div>
</template>

<script>
  export default {
    data() {
      return {
        reverse: true,
        activities: [{
          content: '管理员王五百登录并上传图片值首页新闻列表区域',
          timestamp: '2018-04-15'
        }, {
          content: '管理员王五百登录并上传图片值首页新闻列表区域',
          timestamp: '2018-04-13'
        }, {
          content: '管理员王五百登录并上传图片值首页新闻列表区域',
          timestamp: '2018-04-11'
        }, {
          content: '管理员王五百登录并上传图片值首页新闻列表区域',
          timestamp: '2018-04-11'
        }, {
          content: '管理员王五百登录并上传图片值首页新闻列表区域',
          timestamp: '2018-04-11'
        },{
          content: '管理员王五百登录并上传图片值首页新闻列表区域',
          timestamp: '2018-04-11'
        }]
      };
    }
  };
</script>

<style scoped>
.block{
  padding-top: 50px;
}
</style>
